package com.example.springmb2.mapper;

import com.example.springmb2.model.ArticleInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ArticleInfoMapper {
    // 根据文章 id 查询 对应的文章信息
    public ArticleInfo getArticleById(@Param("id") Integer id);
}
